package com.car.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@TableName("tb_car_scrap")
public class TbCarScrap implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 车辆外键
     */
    private Long carId;

    /**
     * 报废日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date scrapDate;

    /**
     * 回收统一信用代码
     */
    private String recycleCrditCode;


}
